package com.financialsharing.pojo.exchange;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.Data;
import org.apache.ibatis.type.Alias;

import java.util.Date;

/**
 * @ClassName Answer
 * @Description TODO
 * @Author lvyongwei
 * @Date 2020-12-21 13:52
 **/
@Data
@Alias("answer")
@JsonSerialize(include= JsonSerialize.Inclusion.NON_NULL)
public class Answer {

    /**
     * 回答id
     */
    private Long answerId;

    /**
     * 回答内容
     */
    private String answerContent;

    /**
     * 过滤后回答内容
     */
    private String disposeContent;

    /**
     * 回答时间
     */
    private Date answerTime;

    /**
     * 对应的问题id
     */
    private Integer questionId;

    /**
     * 回答的用户id
     */
    private Integer answerUserId;

    /**
     * 是否展示
     */
    private Integer ifShow;

    /**
     * 用户角色
     */
    private Integer roleId;

    private Integer pageNum;

    private Integer pageSize;
}
